package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.WorkflowBusinessDTO;
import com.hunttown.mes.rpc.domain.query.WorkflowBusinessDTOQuery;

/**
 * created by wangjunfu on 2019-08-01 15:48:33
 */
public interface WorkflowBusinessRpcService {

    WorkflowBusinessDTO insert(WorkflowBusinessDTO workflowBusinessDTO);

    Boolean updateInfoById(WorkflowBusinessDTO workflowBusinessDTO);

    Boolean updateInfoByQuery(WorkflowBusinessDTOQuery workflowBusinessDTOQuery);

    WorkflowBusinessDTO selectById(Integer id);

    WorkflowBusinessDTO selectObjByQuery(WorkflowBusinessDTOQuery workflowBusinessDTOQuery);

    Page<WorkflowBusinessDTO> getListForPage(WorkflowBusinessDTOQuery workflowBusinessDTOQuery);

    Boolean deleteById(Integer id);
}